package com.ruoyi.cbs.black.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 拉黑记录对象 cbs_black_record
 * 
 * @author ruoyi
 * @date 2025-11-15
 */
public class BlackRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 拉黑对象：承包商/个人 */
    @Excel(name = "拉黑对象：承包商/个人")
    private String targetType;

    /** 对象id */
    @Excel(name = "对象id")
    private Long targetId;

    /** 对象名称 */
    @Excel(name = "对象名称")
    private String targetName;

    /** 拉黑原因 */
    @Excel(name = "拉黑原因")
    private String reasonDetail;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTargetType(String targetType) 
    {
        this.targetType = targetType;
    }

    public String getTargetType() 
    {
        return targetType;
    }

    public void setTargetId(Long targetId) 
    {
        this.targetId = targetId;
    }

    public Long getTargetId() 
    {
        return targetId;
    }

    public void setTargetName(String targetName) 
    {
        this.targetName = targetName;
    }

    public String getTargetName() 
    {
        return targetName;
    }

    public void setReasonDetail(String reasonDetail) 
    {
        this.reasonDetail = reasonDetail;
    }

    public String getReasonDetail() 
    {
        return reasonDetail;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("targetType", getTargetType())
            .append("targetId", getTargetId())
            .append("targetName", getTargetName())
            .append("reasonDetail", getReasonDetail())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
